<ol>
{foreach from=$rounds item=round name=foo}
	<li style="width:{$tmp_rounds_tingert}%;">{* padding-top:{$padding[$smarty.foreach.foo.index]}%; *}
	{foreach from=$round item=match}
	  <ul style="padding:{$padding[$smarty.foreach.foo.index]}px 0;">{*$match->status*}
		<li>
			<p {if (string)$match->user[0]->winner === "true"}class="winner"{/if}>{$match->user[0]->name}</p> 
	    	{if $match->status != "Not started"}<p>({$match->user[0]->score})</p>{/if} 
		</li>
		<li> 
	    	<p {if (string)$match->user[1]->winner === "true"}class="winner"{/if}>{$match->user[1]->name}</p>
	    	{if $match->status != "Not started"}<p>({$match->user[1]->score})</p>{/if}
	    </li>
	  </ul>
	{/foreach}
	</li>
{/foreach}
</ol>


{if $report_loss}
<p><a href="?page=reportloss&name={$name}">Rapporter tap</a></p>
{/if}

<p><a href="?page=tournament&name={$name}">Tilbake</a></p>
